home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 10 / amigaformatcd10.iso / -screenplay- / shareware / mris 1.1 / .mris1_1src.lha / mrisIcon.c < prev    next >
C/C++ Source or Header  |  1996-09-26  |  4KB  |  98 lines

  1. /* //mris/mrisIcon.c --- Data for mrisIcon icon
  2.  *
  3.  */
  4.  
  5. #include <exec/types.h>
  6. #include <intuition/intuition.h>
  7. #include <workbench/workbench.h>
  8.  
  9. UWORD __chip mrisIconI1Data[] =
  10. {
  11. /* Plane 0 */
  12.     0x0000,0x0000,0x0003,0xFE00,0x000F,0xBB00,0x003E,0xEF80,
  13.     0x0077,0xFD80,0x00FF,0x6F80,0x01B7,0xFC80,0x03FD,0xB040,
  14.     0x06EF,0xE330,0x0FFD,0xE308,0x3E1F,0xA008,0x480E,0xE030,
  15.     0x4807,0xE040,0x3007,0xB3C0,0x0006,0xF840,0x003F,0xB780,
  16.     0x01F6,0xFF00,0x07BF,0xEDE0,0x1EFF,0x7F78,0x27EB,0xF7DC,
  17.     0x270F,0xDEF2,0x181E,0xFE32,0x0077,0xEC0C,0x01DF,0x7C00,
  18.     0x07F7,0xF400,0x0EBE,0x3E00,0x1FE0,0x3B00,0x3F00,0x1F00,
  19.     0x3E00,0x1F80,0x1E00,0x0FF8,0x0F00,0x0FFC,0x0780,0x07F8,
  20. /* Plane 1 */
  21.     0x0003,0xFE00,0x000C,0x0100,0x0033,0xFE80,0x004F,0xFF40,
  22.     0x00BF,0xFF40,0x017F,0xFC40,0x02FF,0xF340,0x05FF,0xEFB0,
  23.     0x0BFF,0xDCC8,0x361F,0xDCF4,0x41EF,0xDFF4,0xB617,0xDFC8,
  24.     0xB40B,0xDFB0,0x480B,0xEC20,0x303B,0xF7A0,0x01C7,0xF840,
  25.     0x063F,0xFEE0,0x19FF,0xFF18,0x23EF,0xFFE4,0x5B17,0xFEF2,
  26.     0x58F7,0xFD2D,0x276F,0xFDCD,0x199F,0xFA32,0x067F,0xFA0C,
  27.     0x09FE,0x3A00,0x11E1,0xDD00,0x201E,0x5E80,0x40E0,0x2080,
  28.     0x4100,0x2078,0x2100,0x1004,0x1080,0x1002,0x0840,0x0804,
  29. };
  30.  
  31. struct Image mrisIconI1 =
  32. {
  33.     0, 0,            /* Upper left corner */
  34.     32, 32, 2,            /* Width, Height, Depth */
  35.     mrisIconI1Data,        /* Image data */
  36.     0x0003, 0x0000,        /* PlanePick, PlaneOnOff */
  37.     NULL            /* Next image */
  38. };
  39.  
  40. UWORD __chip mrisIconI2Data[] =
  41. {
  42. /* Plane 0 */
  43.     0x007F,0x0000,0x03FF,0xC000,0x07EE,0xF000,0x0DBF,0xF800,
  44.     0x1FFE,0x0C00,0x1FE8,0x0400,0x37B9,0x9A00,0x3DF1,0xAA00,
  45.     0x3050,0x1200,0x4830,0x0A00,0x4818,0x7200,0x3019,0x1400,
  46.     0x0014,0xE400,0x301C,0x080C,0x4FFF,0xFC72,0x4F6D,0xDFD2,
  47.     0x5DFF,0xFB7A,0x3FD7,0xBFFC,0x00FE,0xEF80,0x0037,0xFC00,
  48.     0x003F,0xBC00,0x003A,0xEC00,0x003F,0xFC00,0x001B,0xD800,
  49.     0x001E,0x7800,0x002E,0x7400,0x043C,0x3C20,0x0F78,0x1EF0,
  50.     0x0FF8,0x1FF0,0x07F0,0x0FE0,0x01E0,0x0780,0x0000,0x0000,
  51. /* Plane 1 */
  52.     0x0380,0xC000,0x047F,0x3000,0x0BFF,0xC800,0x17FF,0xF400,
  53.     0x2FFF,0xFA00,0x2FFF,0xFA00,0x5DFE,0x6500,0x427E,0x5500,
  54.     0x4DBF,0xED00,0xB45F,0xF500,0xB42F,0x8D00,0x482E,0xEA00,
  55.     0x302F,0x1A0C,0x4FEF,0xF472,0xB01F,0xFB8D,0xBFFF,0xFC7D,
  56.     0xBFFF,0xFFFD,0x40FF,0xFF82,0x3F3F,0xFC7C,0x00DF,0xFB80,
  57.     0x005F,0xFA00,0x005F,0xFA00,0x005F,0xFA00,0x002E,0x7400,
  58.     0x002D,0xB400,0x045D,0xBA20,0x0B5A,0x5AD0,0x1094,0x2908,
  59.     0x1004,0x2008,0x0808,0x1010,0x0610,0x0860,0x01E0,0x0780,
  60. };
  61.  
  62. struct Image mrisIconI2 =
  63. {
  64.     0, 0,            /* Upper left corner */
  65.     32, 32, 2,            /* Width, Height, Depth */
  66.     mrisIconI2Data,        /* Image data */
  67.     0x0003, 0x0000,        /* PlanePick, PlaneOnOff */
  68.     NULL            /* Next image */
  69. };
  70.  
  71. struct DiskObject mrisIcon =
  72. {
  73.     WB_DISKMAGIC,        /* Magic Number */
  74.     WB_DISKVERSION,        /* Version */
  75.     {                /* Embedded Gadget Structure */
  76.     NULL,            /* Next Gadget Pointer */
  77.     0, 0, 32, 33,        /* Left,Top,Width,Height */
  78.     GFLG_GADGIMAGE | GFLG_GADGHIMAGE,    /* Flags */
  79.     GACT_RELVERIFY,        /* Activation Flags */
  80.     BOOLGADGET,        /* Gadget Type */
  81.     (APTR)&mrisIconI1,    /* Render Image */
  82.     (APTR)&mrisIconI2,    /* Select Image */
  83.     NULL,            /* Gadget Text */
  84.     NULL,            /* Mutual Exclude */
  85.     NULL,            /* Special Info */
  86.     0,            /* Gadget ID */
  87.     NULL,            /* User Data */
  88.     },
  89.     WBTOOL,            /* Icon Type */
  90.     NULL,            /* Default Tool */
  91.     NULL,            /* Tool Type Array */
  92.     NO_ICON_POSITION,        /* Current X */
  93.     NO_ICON_POSITION,        /* Current Y */
  94.     NULL,            /* Drawer Structure */
  95.     NULL,            /* Tool Window */
  96.     0                /* Stack Size */
  97. };
  98.